Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include support for attributes and excluded attributes in bulk GET through path parameters #399

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChanikaRuchini
Copy link
Contributor

@ChanikaRuchini ChanikaRuchini commented Jan 24, 2024

Purpose

  • The current behavior sends attributes and excluded attributes as 'data'.
  • The GET method is designed to retrieve information (in the form of an entity) identified by the Request-URI. It specifies that the request-body is not part of the resource identification in a GET request; only the request URI is considered.
  • Therefore, the method has been improved to include attributes and excludedAttributes in the path.

Related Issue - wso2/product-is#19146

if (parts.length < 2) {
return new HashMap<>();
}
return Arrays.stream(parts[1].split("&"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the behavior if there are duplicate query params?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants